SDK/J Authentication Package ver1.0
RICOH Confidential

jp.co.ricoh.dsdk.scard.framework.card
Class Slot

java.lang.Object
  extended byjp.co.ricoh.dsdk.scard.framework.card.Slot

public class Slot
extends java.lang.Object

This is a Slot class.


Method Summary
protected  java.lang.Object clone()
           
 boolean equals(java.lang.Object arg0)
           
protected  void finalize()
           
 Card getCard()
           Optains the inserted card.
 java.lang.String getId()
           Obtains the identifier of a slot.
 int hashCode()
           
 boolean isCard()
           Checks whether a card is inserted in a slot.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getId

public java.lang.String getId()
                       throws SlotAccessException
Obtains the identifier of a slot.

Returns:
the identifier of a slot.
Throws:
SlotAccessException - when an error has occurred in the obtainment of the identifier of a slot.

isCard

public boolean isCard()
               throws SlotAccessException
Checks whether a card is inserted in a slot.

Returns:
true- when a card is inserted in a slot.
Throws:
SlotAccessException - when an error has occurred in the check.

getCard

public Card getCard()
Optains the inserted card. Returns null when no card has been inserted

Returns:
the inserted card.

clone

protected java.lang.Object clone()
                          throws java.lang.CloneNotSupportedException
Throws:
java.lang.CloneNotSupportedException

hashCode

public int hashCode()

toString

public java.lang.String toString()

equals

public boolean equals(java.lang.Object arg0)

finalize

protected void finalize()
                 throws java.lang.Throwable
Throws:
java.lang.Throwable

SDK/J Authentication Package ver1.0
RICOH Confidential